﻿/* 
 * author: www.cnblogs.com/luminji
 * date  : 2011/12/28
 */
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Luminji.Exam.Model.Users;
using Luminji.ExamWeb.Helpers;


namespace Luminji.ExamWeb.Controllers
{
    public class TestController : BaseExamControl
    {
        private IList<Student> _students = new List<Student>();

        public ActionResult Index()
        {
            _students.Add(new Student() { CurrentUserName = "luminji" });
            _students.Add(new Student() { CurrentUserName = "huzhonghua" });
            JsonResult re = Json(_students, JsonRequestBehavior.AllowGet);

            return View();
        }

    }
}
